package com.liyi.letter.processing;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: letter_parent
 * @description
 * @author: tianwen
 * @create: 2023-06-16 10:53
 **/
@SpringBootApplication
//@ComponentScan(basePackages = "com.liyi.letter") 不能写
@EnableDiscoveryClient
@MapperScan(basePackages = "com.liyi.letter.processing.mapper")
public class ProcessingServiceApplication {
    public static void main(String[] args){
        SpringApplication.run(ProcessingServiceApplication.class,args);
    }
}
